<?php

class Application_Model_PayHistory extends Application_Model_Base
{
  protected $data = array(
			 "id" => '',
			 "buyer_id" => '',
			 "cont_id" => '',
			 "title" => '',
			 "price" => '',
			 "owner_id" => '',
			 "status" => '',
			 "time" => ''
			  );
  protected $primary_key_name = 'id';

  static $TRANSCATION_DOING = 0;
  static $TRANSCATION_DONE = 1;
  static $TRANSCATION_REFUND_REQUEST = 2;
  static $TRANSCATION_REFUNDED = 3;

  static $TRANSCATION_STATUS = array("交易进行中",
				     "交易完成",
				     "退款申请中",
				     "已退款");
}